<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!--<meta name="viewport" content="width=device-width,initial-scale=1, user-scalable=no"/>-->
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="full-screen" content="true"/>
    <meta name="screen-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="360-fullscreen" content="true"/>
    <title>探寻时代与匠艺的真谛</title>
    <style>
        body {
            background-color: #ffffff;
            margin: 0px;
            overflow: hidden;
            font-family:Monospace;
            font-size:13px;
            text-align:center;
            font-weight: bold;
            text-align:center;
        }
        #container{
            position: absolute;
            top: 0px; height: 100%;
            padding: 0px;
            z-index:1;
        }
        #pixiContainer{
            position: absolute;
            top: 0px; height: 100%;
            padding: 0px;
            z-index:2;
        }
    </style>
</head>
<body>
<script src="balaJS/Main.js"></script>
<script src="balaJS/Hajime.js"></script>
<script src="balaJS/ControlCenter.js"></script>
<script src="OtherJS/three.js"></script>
<script src="OtherJS/TweenMax.min.js"></script>
<script src="OtherJS/TrackballControls.js"></script>
<script src="OtherJS/OrbitControls.js"></script>
<script src="OtherJS/TrackballControls.js"></script>

<script src="pixi/bin/pixi.min.js"></script>
<script src="pixi/balaJS/Hajime2.js"></script>
<script src="pixi/balaJS/Main2.js"></script>

<script src="src/Page1.js"></script>
<script src="src/Page2.js"></script>
<script src="src/Page3.js"></script>
<script src="src/Page4.js"></script>
<script src="src/Page5.js"></script>
<script src="src/PageCircle.js"></script>


<script src='http://res.wx.qq.com/open/js/jweixin-1.0.0.js' src-release="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<div style="display:none"><img src='suolue.png' width="400" height="400" />
    <?php
require_once "jssdk.php";
$jssdk = new JSSDK("wx409a5223727cfbde", "3750cb321b4965883f1ccbe1fc945f8d");
$signPackage = $jssdk->GetSignPackage();
    ?></div>

<div id="pixiContainer"></div>
<div id="container" >
</div>
<script>
    var main2=Main2.Create();
    var main=Main.Create();

    wx.config({
        debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
        appId: '<?php echo $signPackage["appId"];?>',
        timestamp: '<?php echo $signPackage["timestamp"];?>',
        nonceStr: '<?php echo $signPackage["nonceStr"];?>',
        signature: '<?php echo $signPackage["signature"];?>',
        jsApiList: ['onMenuShareAppMessage']

    });
    wx.ready(function () {

        wx.onMenuShareAppMessage({
            title:'探寻时代与匠艺的真谛', // 分享标题
            desc: '我来我改变', // 分享描述
            link: 'http://www.yixuanhudong.com/GZB/XuJing2/index.html', // 分享链接
            imgUrl:'http://www.yixuanhudong.com/GZB/XuJing2/suolue.png',
            success: function () {
                //alert("分享成功！");
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });

        wx.error(function (res) {

            // config信息验证失败会执行error函数，如签名过期导致验证失败

        });
    });
</script>
</body>
</html>